<?php

namespace app\shop\controller\region;

use app\shop\controller\Controller;

use app\shop\model\region\Region as RegionModel;

class Region extends Controller
{

    public function regionOptions()
    {
        $model = new RegionModel;
        $regionOptions = $model->regionOptions();
        return $this->renderSuccess('', compact('regionOptions'));
    }

    public function getMergerNames()
    {
        $model = new RegionModel;
        $allMergerNames = $model->allMergerNames();
        return $this->renderSuccess('', compact('allMergerNames'));
    }

}